.class public Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;
.super Lcom/google/android/exoplayer/a;
.source "DuExoGLVideoView.java"

# interfaces
.implements Landroid/widget/MediaController$MediaPlayerControl;
.implements Landroid/view/SurfaceHolder$Callback;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$g;
    }
.end annotation


# instance fields
.field private A:Z

.field private B:Landroid/graphics/RectF;

.field private C:I

.field private D:Landroid/os/Handler;

.field private E:Z

.field private F:Lcom/esfile/screen/recorder/player/exo/c$a;

.field private G:Lcom/esfile/screen/recorder/player/exo/a$g;

.field private H:Lcom/esfile/screen/recorder/player/exo/a$c;

.field private I:I

.field private J:I

.field private K:Lcom/esfile/screen/recorder/player/exo/a$j;

.field private L:Lcom/esfile/screen/recorder/player/exo/a$d;

.field private M:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$g;

.field private b:Landroid/opengl/GLSurfaceView;

.field private c:Landroid/widget/FrameLayout;

.field private d:Landroid/view/Surface;

.field private e:Landroid/widget/MediaController;

.field private f:Landroid/view/View;

.field private g:Ljava/lang/String;

.field private h:Landroid/net/Uri;

.field private i:I

.field private j:Lcom/google/android/exoplayer/drm/c;

.field private k:Lcom/esfile/screen/recorder/player/exo/a;

.field private l:F

.field private m:I

.field private n:Z

.field private o:Lcom/esfile/screen/recorder/player/exo/a$c;

.field private p:Lcom/esfile/screen/recorder/player/exo/a$g;

.field private q:Lcom/esfile/screen/recorder/player/exo/a$d;

.field private r:Lcom/esfile/screen/recorder/player/exo/a$e;

.field private s:Lcom/esfile/screen/recorder/player/exo/a$f;

.field private t:Lcom/esfile/screen/recorder/player/exo/a$b;

.field private u:Lcom/esfile/screen/recorder/player/exo/a$i;

.field private v:Lcom/esfile/screen/recorder/player/exo/a$j;

.field private w:Lcom/esfile/screen/recorder/player/exo/a$h;

.field private x:Lcom/esfile/screen/recorder/player/exo/c;

.field private y:I

.field private z:I


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    const/4 v0, 0x0

    .line 1
    invoke-direct {p0, p1, v0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 10

    .line 2
    invoke-direct {p0, p1, p2}, Lcom/google/android/exoplayer/a;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    const/4 p2, 0x0

    .line 3
    iput p2, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->y:I

    .line 4
    iput p2, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->z:I

    const/16 v0, 0xa

    .line 5
    iput v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->C:I

    .line 6
    iput-boolean p2, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->E:Z

    .line 7
    new-instance p2, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$b;

    invoke-direct {p2, p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$b;-><init>(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)V

    iput-object p2, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->F:Lcom/esfile/screen/recorder/player/exo/c$a;

    .line 8
    new-instance p2, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$c;

    invoke-direct {p2, p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$c;-><init>(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)V

    iput-object p2, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->G:Lcom/esfile/screen/recorder/player/exo/a$g;

    .line 9
    new-instance p2, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$d;

    invoke-direct {p2, p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$d;-><init>(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)V

    iput-object p2, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->H:Lcom/esfile/screen/recorder/player/exo/a$c;

    const/4 p2, -0x1

    .line 10
    iput p2, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->I:I

    .line 11
    iput p2, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->J:I

    .line 12
    new-instance v0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$e;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$e;-><init>(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->K:Lcom/esfile/screen/recorder/player/exo/a$j;

    .line 13
    new-instance v0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$f;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$f;-><init>(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->L:Lcom/esfile/screen/recorder/player/exo/a$d;

    .line 14
    new-instance v0, Landroid/widget/FrameLayout;

    invoke-direct {v0, p1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->c:Landroid/widget/FrameLayout;

    .line 15
    new-instance v1, Landroid/widget/FrameLayout$LayoutParams;

    const/16 v2, 0x11

    invoke-direct {v1, p2, p2, v2}, Landroid/widget/FrameLayout$LayoutParams;-><init>(III)V

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 16
    new-instance v0, Landroid/opengl/GLSurfaceView;

    invoke-direct {v0, p1}, Landroid/opengl/GLSurfaceView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->b:Landroid/opengl/GLSurfaceView;

    .line 17
    new-instance v1, Landroid/widget/FrameLayout$LayoutParams;

    invoke-direct {v1, p2, p2, v2}, Landroid/widget/FrameLayout$LayoutParams;-><init>(III)V

    invoke-virtual {v0, v1}, Landroid/opengl/GLSurfaceView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 18
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->c:Landroid/widget/FrameLayout;

    iget-object v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->b:Landroid/opengl/GLSurfaceView;

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    .line 19
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->c:Landroid/widget/FrameLayout;

    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    .line 20
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->b:Landroid/opengl/GLSurfaceView;

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Landroid/opengl/GLSurfaceView;->setEGLContextClientVersion(I)V

    .line 21
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->b:Landroid/opengl/GLSurfaceView;

    invoke-virtual {v0}, Landroid/opengl/GLSurfaceView;->getHolder()Landroid/view/SurfaceHolder;

    move-result-object v0

    invoke-interface {v0, p0}, Landroid/view/SurfaceHolder;->addCallback(Landroid/view/SurfaceHolder$Callback;)V

    .line 22
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->b:Landroid/opengl/GLSurfaceView;

    invoke-virtual {v0}, Landroid/opengl/GLSurfaceView;->getHolder()Landroid/view/SurfaceHolder;

    move-result-object v0

    const/4 v1, -0x3

    invoke-interface {v0, v1}, Landroid/view/SurfaceHolder;->setFormat(I)V

    .line 23
    iget-object v3, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->b:Landroid/opengl/GLSurfaceView;

    const/16 v4, 0x8

    const/16 v5, 0x8

    const/16 v6, 0x8

    const/16 v7, 0x8

    const/16 v8, 0x10

    const/4 v9, 0x0

    invoke-virtual/range {v3 .. v9}, Landroid/opengl/GLSurfaceView;->setEGLConfigChooser(IIIIII)V

    .line 24
    invoke-direct {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->g()V

    .line 25
    new-instance v0, Landroid/view/View;

    invoke-direct {v0, p1}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->f:Landroid/view/View;

    .line 26
    new-instance p1, Landroid/widget/FrameLayout$LayoutParams;

    invoke-direct {p1, p2, p2, v2}, Landroid/widget/FrameLayout$LayoutParams;-><init>(III)V

    invoke-virtual {v0, p1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 27
    iget-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->f:Landroid/view/View;

    const/high16 p2, -0x1000000

    invoke-virtual {p1, p2}, Landroid/view/View;->setBackgroundColor(I)V

    .line 28
    iget-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->f:Landroid/view/View;

    invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    const/4 p1, 0x1

    .line 29
    invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->setFocusable(Z)V

    .line 30
    invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->setFocusableInTouchMode(Z)V

    .line 31
    invoke-virtual {p0}, Landroid/widget/FrameLayout;->requestFocus()Z

    .line 32
    invoke-direct {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->f()V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->C:I

    return p0
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;I)I
    .locals 0

    .line 2
    iput p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->I:I

    return p1
.end method

.method private a(I)Landroid/graphics/RectF;
    .locals 6

    const/16 v0, 0xb4

    if-eqz p1, :cond_1

    if-ne p1, v0, :cond_0

    goto :goto_0

    .line 32
    :cond_0
    iget v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->J:I

    goto :goto_1

    :cond_1
    :goto_0
    iget v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->I:I

    :goto_1
    if-eqz p1, :cond_3

    if-ne p1, v0, :cond_2

    goto :goto_2

    .line 33
    :cond_2
    iget p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->I:I

    goto :goto_3

    :cond_3
    :goto_2
    iget p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->J:I

    .line 34
    :goto_3
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->A:Z

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->B:Landroid/graphics/RectF;

    if-eqz v0, :cond_4

    .line 35
    new-instance v0, Landroid/graphics/RectF;

    iget-object v2, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->B:Landroid/graphics/RectF;

    iget v3, v2, Landroid/graphics/RectF;->left:F

    int-to-float v1, v1

    mul-float v3, v3, v1

    iget v4, v2, Landroid/graphics/RectF;->top:F

    int-to-float p1, p1

    mul-float v4, v4, p1

    iget v5, v2, Landroid/graphics/RectF;->right:F

    mul-float v5, v5, v1

    iget v1, v2, Landroid/graphics/RectF;->bottom:F

    mul-float v1, v1, p1

    invoke-direct {v0, v3, v4, v5, v1}, Landroid/graphics/RectF;-><init>(FFFF)V

    return-object v0

    .line 36
    :cond_4
    iget-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->B:Landroid/graphics/RectF;

    return-object p1
.end method

.method private a(II)Landroid/graphics/RectF;
    .locals 8

    sub-int/2addr p2, p1

    if-gez p2, :cond_0

    add-int/lit16 p2, p2, 0x168

    .line 37
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->B:Landroid/graphics/RectF;

    if-eqz v0, :cond_a

    if-eqz p2, :cond_a

    .line 38
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->A:Z

    const/4 v1, 0x1

    const/16 v2, 0xb4

    if-eqz v0, :cond_1

    const/4 v0, 0x1

    goto :goto_1

    :cond_1
    if-eqz p1, :cond_3

    if-ne p1, v2, :cond_2

    goto :goto_0

    :cond_2
    iget v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->J:I

    goto :goto_1

    :cond_3
    :goto_0
    iget v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->I:I

    .line 39
    :goto_1
    iget-boolean v3, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->A:Z

    if-eqz v3, :cond_4

    goto :goto_3

    :cond_4
    if-eqz p1, :cond_6

    if-ne p1, v2, :cond_5

    goto :goto_2

    :cond_5
    iget v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->I:I

    goto :goto_3

    :cond_6
    :goto_2
    iget v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->J:I

    .line 40
    :goto_3
    new-instance p1, Landroid/graphics/RectF;

    iget-object v3, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->B:Landroid/graphics/RectF;

    invoke-direct {p1, v3}, Landroid/graphics/RectF;-><init>(Landroid/graphics/RectF;)V

    .line 41
    iget v3, p1, Landroid/graphics/RectF;->left:F

    .line 42
    iget v4, p1, Landroid/graphics/RectF;->top:F

    .line 43
    invoke-virtual {p1}, Landroid/graphics/RectF;->width()F

    move-result v5

    .line 44
    invoke-virtual {p1}, Landroid/graphics/RectF;->height()F

    move-result v6

    const/16 v7, 0x5a

    if-ne p2, v7, :cond_7

    int-to-float p2, v1

    sub-float/2addr p2, v4

    sub-float/2addr p2, v6

    .line 45
    iput p2, p1, Landroid/graphics/RectF;->left:F

    .line 46
    iput v3, p1, Landroid/graphics/RectF;->top:F

    add-float/2addr p2, v6

    .line 47
    iput p2, p1, Landroid/graphics/RectF;->right:F

    add-float/2addr v3, v5

    .line 48
    iput v3, p1, Landroid/graphics/RectF;->bottom:F

    goto :goto_4

    :cond_7
    if-ne p2, v2, :cond_8

    int-to-float p2, v0

    sub-float/2addr p2, v3

    sub-float/2addr p2, v5

    .line 49
    iput p2, p1, Landroid/graphics/RectF;->left:F

    int-to-float v0, v1

    sub-float/2addr v0, v4

    sub-float/2addr v0, v6

    .line 50
    iput v0, p1, Landroid/graphics/RectF;->top:F

    add-float/2addr p2, v5

    .line 51
    iput p2, p1, Landroid/graphics/RectF;->right:F

    add-float/2addr v0, v6

    .line 52
    iput v0, p1, Landroid/graphics/RectF;->bottom:F

    goto :goto_4

    :cond_8
    const/16 v1, 0x10e

    if-ne p2, v1, :cond_9

    .line 53
    iput v4, p1, Landroid/graphics/RectF;->left:F

    int-to-float p2, v0

    sub-float/2addr p2, v3

    sub-float/2addr p2, v5

    .line 54
    iput p2, p1, Landroid/graphics/RectF;->top:F

    add-float/2addr v4, v6

    .line 55
    iput v4, p1, Landroid/graphics/RectF;->right:F

    add-float/2addr p2, v5

    .line 56
    iput p2, p1, Landroid/graphics/RectF;->bottom:F

    .line 57
    :cond_9
    :goto_4
    iput-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->B:Landroid/graphics/RectF;

    .line 58
    :cond_a
    iget-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->B:Landroid/graphics/RectF;

    return-object p1
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;Landroid/view/Surface;)Landroid/view/Surface;
    .locals 0

    .line 3
    iput-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->d:Landroid/view/Surface;

    return-object p1
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;Z)Z
    .locals 0

    .line 4
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->E:Z

    return p1
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)I
    .locals 2

    .line 1
    iget v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->C:I

    add-int/lit8 v1, v0, -0x1

    iput v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->C:I

    return v0
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;I)I
    .locals 0

    .line 2
    iput p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->J:I

    return p1
.end method

.method static synthetic c(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)Landroid/opengl/GLSurfaceView;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->b:Landroid/opengl/GLSurfaceView;

    return-object p0
.end method

.method private d()V
    .locals 2

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->e:Landroid/widget/MediaController;

    if-eqz v0, :cond_1

    .line 3
    invoke-virtual {v0, p0}, Landroid/widget/MediaController;->setMediaPlayer(Landroid/widget/MediaController$MediaPlayerControl;)V

    .line 4
    invoke-virtual {p0}, Landroid/widget/FrameLayout;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    instance-of v0, v0, Landroid/view/View;

    if-eqz v0, :cond_0

    .line 5
    invoke-virtual {p0}, Landroid/widget/FrameLayout;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    check-cast v0, Landroid/view/View;

    goto :goto_0

    :cond_0
    move-object v0, p0

    .line 6
    :goto_0
    iget-object v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->e:Landroid/widget/MediaController;

    invoke-virtual {v1, v0}, Landroid/widget/MediaController;->setAnchorView(Landroid/view/View;)V

    .line 7
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->e:Landroid/widget/MediaController;

    invoke-virtual {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->a()Z

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/MediaController;->setEnabled(Z)V

    :cond_1
    return-void
.end method

.method static synthetic d(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->n:Z

    return p0
.end method

.method static synthetic e(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)Lcom/esfile/screen/recorder/player/exo/a;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    return-object p0
.end method

.method private e()V
    .locals 2

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->D:Landroid/os/Handler;

    if-eqz v0, :cond_0

    const/4 v1, 0x0

    .line 3
    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacksAndMessages(Ljava/lang/Object;)V

    .line 4
    iput-object v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->D:Landroid/os/Handler;

    :cond_0
    return-void
.end method

.method private f()V
    .locals 2

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->D:Landroid/os/Handler;

    if-eqz v0, :cond_0

    const/4 v1, 0x0

    .line 3
    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacksAndMessages(Ljava/lang/Object;)V

    .line 4
    :cond_0
    new-instance v0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$a;

    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$a;-><init>(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;Landroid/os/Looper;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->D:Landroid/os/Handler;

    return-void
.end method

.method static synthetic f(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->j()V

    return-void
.end method

.method static synthetic g(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)Lcom/esfile/screen/recorder/player/exo/a$c;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->o:Lcom/esfile/screen/recorder/player/exo/a$c;

    return-object p0
.end method

.method private g()V
    .locals 2

    .line 2
    new-instance v0, Lcom/esfile/screen/recorder/player/exo/c;

    iget-object v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->F:Lcom/esfile/screen/recorder/player/exo/c$a;

    invoke-direct {v0, v1}, Lcom/esfile/screen/recorder/player/exo/c;-><init>(Lcom/esfile/screen/recorder/player/exo/c$a;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->x:Lcom/esfile/screen/recorder/player/exo/c;

    .line 3
    iget-object v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->b:Landroid/opengl/GLSurfaceView;

    invoke-virtual {v1, v0}, Landroid/opengl/GLSurfaceView;->setRenderer(Landroid/opengl/GLSurfaceView$Renderer;)V

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->b:Landroid/opengl/GLSurfaceView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/opengl/GLSurfaceView;->setRenderMode(I)V

    return-void
.end method

.method static synthetic h(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)Lcom/esfile/screen/recorder/player/exo/c;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->x:Lcom/esfile/screen/recorder/player/exo/c;

    return-object p0
.end method

.method private h()V
    .locals 4

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->h:Landroid/net/Uri;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->d:Landroid/view/Surface;

    if-nez v0, :cond_0

    goto/16 :goto_1

    .line 3
    :cond_0
    invoke-direct {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->i()V

    .line 4
    invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    const-string v1, "audio"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/media/AudioManager;

    const/4 v1, 0x0

    const/4 v2, 0x3

    const/4 v3, 0x1

    .line 5
    invoke-virtual {v0, v1, v2, v3}, Landroid/media/AudioManager;->requestAudioFocus(Landroid/media/AudioManager$OnAudioFocusChangeListener;II)I

    .line 6
    new-instance v0, Lcom/esfile/screen/recorder/player/exo/a;

    invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/esfile/screen/recorder/player/exo/a;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    .line 7
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->g:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    .line 8
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    iget-object v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->g:Ljava/lang/String;

    iget v2, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->i:I

    iget-object v3, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->j:Lcom/google/android/exoplayer/drm/c;

    invoke-virtual {v0, v1, v2, v3}, Lcom/esfile/screen/recorder/player/exo/a;->a(Ljava/lang/String;ILcom/google/android/exoplayer/drm/c;)V

    goto :goto_0

    .line 9
    :cond_1
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    iget-object v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->h:Landroid/net/Uri;

    iget v2, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->i:I

    iget-object v3, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->j:Lcom/google/android/exoplayer/drm/c;

    invoke-virtual {v0, v1, v2, v3}, Lcom/esfile/screen/recorder/player/exo/a;->a(Landroid/net/Uri;ILcom/google/android/exoplayer/drm/c;)V

    .line 10
    :goto_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    iget-object v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->H:Lcom/esfile/screen/recorder/player/exo/a$c;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/a;->a(Lcom/esfile/screen/recorder/player/exo/a$c;)V

    .line 11
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    iget-object v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->G:Lcom/esfile/screen/recorder/player/exo/a$g;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/a;->a(Lcom/esfile/screen/recorder/player/exo/a$g;)V

    .line 12
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    iget-object v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->K:Lcom/esfile/screen/recorder/player/exo/a$j;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/a;->a(Lcom/esfile/screen/recorder/player/exo/a$j;)V

    .line 13
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    iget-object v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->L:Lcom/esfile/screen/recorder/player/exo/a$d;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/a;->a(Lcom/esfile/screen/recorder/player/exo/a$d;)V

    .line 14
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    iget-object v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->r:Lcom/esfile/screen/recorder/player/exo/a$e;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/a;->a(Lcom/esfile/screen/recorder/player/exo/a$e;)V

    .line 15
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    iget-object v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->s:Lcom/esfile/screen/recorder/player/exo/a$f;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/a;->a(Lcom/esfile/screen/recorder/player/exo/a$f;)V

    .line 16
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    iget-object v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->t:Lcom/esfile/screen/recorder/player/exo/a$b;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/a;->a(Lcom/esfile/screen/recorder/player/exo/a$b;)V

    .line 17
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    iget-object v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->u:Lcom/esfile/screen/recorder/player/exo/a$i;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/a;->a(Lcom/esfile/screen/recorder/player/exo/a$i;)V

    .line 18
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    iget-object v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->w:Lcom/esfile/screen/recorder/player/exo/a$h;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/a;->a(Lcom/esfile/screen/recorder/player/exo/a$h;)V

    .line 19
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/a;->i()V

    .line 20
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    iget-object v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->d:Landroid/view/Surface;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/a;->b(Landroid/view/Surface;)V

    .line 21
    invoke-direct {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->d()V

    :cond_2
    :goto_1
    return-void
.end method

.method static synthetic i(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)Landroid/view/View;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->f:Landroid/view/View;

    return-object p0
.end method

.method private i()V
    .locals 3

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/a;->b()V

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/a;->j()V

    const/4 v0, 0x0

    .line 5
    iput-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    .line 6
    invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    const-string v2, "audio"

    .line 7
    invoke-virtual {v1, v2}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/media/AudioManager;

    .line 8
    invoke-virtual {v1, v0}, Landroid/media/AudioManager;->abandonAudioFocus(Landroid/media/AudioManager$OnAudioFocusChangeListener;)I

    :cond_0
    return-void
.end method

.method static synthetic j(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)Landroid/graphics/RectF;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->B:Landroid/graphics/RectF;

    return-object p0
.end method

.method private j()V
    .locals 2

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->e:Landroid/widget/MediaController;

    if-eqz v0, :cond_0

    const/4 v1, 0x0

    .line 3
    invoke-virtual {v0, v1}, Landroid/widget/MediaController;->show(I)V

    :cond_0
    return-void
.end method

.method private k()V
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->e:Landroid/widget/MediaController;

    if-nez v0, :cond_0

    return-void

    .line 3
    :cond_0
    invoke-virtual {v0}, Landroid/widget/MediaController;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->e:Landroid/widget/MediaController;

    invoke-virtual {v0}, Landroid/widget/MediaController;->hide()V

    goto :goto_0

    .line 5
    :cond_1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->j()V

    :goto_0
    return-void
.end method

.method static synthetic k(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->A:Z

    return p0
.end method

.method static synthetic l(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)Landroid/os/Handler;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->D:Landroid/os/Handler;

    return-object p0
.end method

.method static synthetic m(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->y:I

    return p0
.end method

.method static synthetic n(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)Lcom/esfile/screen/recorder/player/exo/a$j;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->v:Lcom/esfile/screen/recorder/player/exo/a$j;

    return-object p0
.end method

.method static synthetic o(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)Lcom/esfile/screen/recorder/player/exo/a$d;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->q:Lcom/esfile/screen/recorder/player/exo/a$d;

    return-object p0
.end method

.method static synthetic p(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->h()V

    return-void
.end method

.method static synthetic q(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->E:Z

    return p0
.end method

.method static synthetic r(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)Lcom/esfile/screen/recorder/player/exo/a$g;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->p:Lcom/esfile/screen/recorder/player/exo/a$g;

    return-object p0
.end method

.method static synthetic s(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)Landroid/widget/MediaController;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->e:Landroid/widget/MediaController;

    return-object p0
.end method

.method static synthetic t(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->m:I

    return p0
.end method

.method static synthetic u(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)F
    .locals 0

    .line 1
    iget p0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->l:F

    return p0
.end method


# virtual methods
.method public a(IZ)V
    .locals 3

    .line 26
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 27
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    int-to-long v1, p1

    invoke-virtual {v0, v1, v2, p2}, Lcom/esfile/screen/recorder/player/exo/a;->a(JZ)V

    const/4 p1, 0x0

    .line 28
    iput p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->m:I

    goto :goto_0

    .line 29
    :cond_0
    iput p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->m:I

    :goto_0
    return-void
.end method

.method public a(J)V
    .locals 7

    .line 18
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->a()Z

    move-result v0

    const/4 v1, 0x1

    if-eqz v0, :cond_2

    .line 19
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/a;->g()I

    move-result v0

    const/4 v2, 0x5

    if-ne v0, v2, :cond_0

    .line 20
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    invoke-virtual {v0, p1, p2}, Lcom/esfile/screen/recorder/player/exo/a;->b(J)V

    goto :goto_0

    .line 21
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/a;->e()J

    move-result-wide v2

    .line 22
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/a;->d()J

    move-result-wide v4

    const/high16 v0, 0x3f800000    # 1.0f

    long-to-float v6, v4

    mul-float v6, v6, v0

    long-to-float v0, v2

    div-float/2addr v6, v0

    const v0, 0x3f7d70a4    # 0.99f

    cmpl-float v0, v6, v0

    if-lez v0, :cond_1

    sub-long/2addr v2, v4

    const-wide/16 v4, 0x64

    cmp-long v0, v2, v4

    if-gez v0, :cond_1

    .line 23
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    invoke-virtual {v0, p1, p2}, Lcom/esfile/screen/recorder/player/exo/a;->b(J)V

    .line 24
    :cond_1
    :goto_0
    iget-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    invoke-virtual {p1, v1}, Lcom/esfile/screen/recorder/player/exo/a;->a(Z)V

    .line 25
    :cond_2
    iput-boolean v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->n:Z

    return-void
.end method

.method public a(Landroid/graphics/RectF;Z)V
    .locals 3

    const/high16 v0, 0x3f800000    # 1.0f

    if-eqz p1, :cond_2

    .line 59
    invoke-virtual {p1}, Landroid/graphics/RectF;->width()F

    move-result v1

    const/4 v2, 0x0

    cmpl-float v1, v1, v2

    if-lez v1, :cond_2

    invoke-virtual {p1}, Landroid/graphics/RectF;->height()F

    move-result v1

    cmpl-float v1, v1, v2

    if-lez v1, :cond_2

    .line 60
    iput-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->B:Landroid/graphics/RectF;

    .line 61
    iput-boolean p2, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->A:Z

    .line 62
    iget p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->I:I

    if-lez p1, :cond_1

    iget p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->J:I

    if-gtz p1, :cond_0

    goto :goto_0

    .line 63
    :cond_0
    iget p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->z:I

    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->a(I)Landroid/graphics/RectF;

    move-result-object p1

    .line 64
    invoke-virtual {p1}, Landroid/graphics/RectF;->width()F

    move-result p2

    mul-float p2, p2, v0

    invoke-virtual {p1}, Landroid/graphics/RectF;->height()F

    move-result v0

    div-float/2addr p2, v0

    .line 65
    invoke-virtual {p0, p2}, Lcom/google/android/exoplayer/a;->setAspectRatio(F)V

    .line 66
    iget-object p2, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->x:Lcom/esfile/screen/recorder/player/exo/c;

    invoke-virtual {p2, p1}, Lcom/esfile/screen/recorder/player/exo/c;->a(Landroid/graphics/RectF;)V

    goto :goto_3

    :cond_1
    :goto_0
    return-void

    :cond_2
    const/4 p1, 0x0

    .line 67
    iput-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->B:Landroid/graphics/RectF;

    .line 68
    iget p2, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->I:I

    if-lez p2, :cond_8

    iget p2, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->J:I

    if-gtz p2, :cond_3

    goto :goto_3

    .line 69
    :cond_3
    iget v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->z:I

    const/16 v2, 0xb4

    if-eqz v1, :cond_4

    if-ne v1, v2, :cond_5

    :cond_4
    iget p2, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->I:I

    .line 70
    :cond_5
    iget v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->z:I

    if-eqz v1, :cond_7

    if-ne v1, v2, :cond_6

    goto :goto_1

    :cond_6
    iget v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->I:I

    goto :goto_2

    :cond_7
    :goto_1
    iget v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->J:I

    :goto_2
    int-to-float p2, p2

    mul-float p2, p2, v0

    int-to-float v0, v1

    div-float/2addr p2, v0

    .line 71
    invoke-virtual {p0, p2}, Lcom/google/android/exoplayer/a;->setAspectRatio(F)V

    .line 72
    iget-object p2, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->x:Lcom/esfile/screen/recorder/player/exo/c;

    invoke-virtual {p2, p1}, Lcom/esfile/screen/recorder/player/exo/c;->a(Landroid/graphics/RectF;)V

    :cond_8
    :goto_3
    return-void
.end method

.method public a(Landroid/net/Uri;ILcom/google/android/exoplayer/drm/c;)V
    .locals 0

    .line 7
    iput-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->h:Landroid/net/Uri;

    .line 8
    iput p2, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->i:I

    .line 9
    iput-object p3, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->j:Lcom/google/android/exoplayer/drm/c;

    const/4 p1, 0x0

    .line 10
    iput p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->m:I

    const/high16 p2, 0x3f800000    # 1.0f

    .line 11
    iput p2, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->l:F

    .line 12
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->n:Z

    .line 13
    iput p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->z:I

    .line 14
    iput p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->y:I

    .line 15
    invoke-direct {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->h()V

    .line 16
    invoke-virtual {p0}, Landroid/widget/FrameLayout;->requestLayout()V

    .line 17
    invoke-virtual {p0}, Landroid/widget/FrameLayout;->invalidate()V

    return-void
.end method

.method public a(Ljava/lang/String;ILcom/google/android/exoplayer/drm/c;)V
    .locals 0

    .line 5
    iput-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->g:Ljava/lang/String;

    .line 6
    invoke-static {p1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object p1

    invoke-virtual {p0, p1, p2, p3}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->a(Landroid/net/Uri;ILcom/google/android/exoplayer/drm/c;)V

    return-void
.end method

.method public a()Z
    .locals 4

    .line 30
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    const/4 v1, 0x0

    if-nez v0, :cond_0

    return v1

    .line 31
    :cond_0
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/a;->g()I

    move-result v0

    const/4 v2, 0x1

    if-eq v0, v2, :cond_1

    const/4 v3, 0x2

    if-eq v0, v3, :cond_1

    const/4 v1, 0x1

    :cond_1
    return v1
.end method

.method public b(IZ)Landroid/graphics/RectF;
    .locals 3

    const/16 v0, 0xb4

    if-eqz p1, :cond_1

    const/16 v1, 0x5a

    if-eq p1, v1, :cond_1

    if-eq p1, v0, :cond_1

    const/16 v1, 0x10e

    if-ne p1, v1, :cond_0

    goto :goto_0

    .line 4
    :cond_0
    new-instance p2, Ljava/lang/IllegalArgumentException;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "Unsupported angle: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw p2

    .line 5
    :cond_1
    :goto_0
    iput p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->y:I

    .line 6
    iget v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->I:I

    if-lez v1, :cond_a

    iget v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->J:I

    if-gtz v1, :cond_2

    goto :goto_3

    :cond_2
    if-eqz p1, :cond_3

    if-ne p1, v0, :cond_4

    .line 7
    :cond_3
    iget v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->I:I

    :cond_4
    if-eqz p1, :cond_6

    if-ne p1, v0, :cond_5

    goto :goto_1

    .line 8
    :cond_5
    iget v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->I:I

    goto :goto_2

    :cond_6
    :goto_1
    iget v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->J:I

    :goto_2
    if-nez p2, :cond_7

    .line 9
    iget p2, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->z:I

    invoke-direct {p0, p2, p1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->a(II)Landroid/graphics/RectF;

    .line 10
    :cond_7
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->a(I)Landroid/graphics/RectF;

    move-result-object p2

    if-eqz p2, :cond_8

    .line 11
    invoke-virtual {p2}, Landroid/graphics/RectF;->width()F

    move-result v2

    float-to-int v2, v2

    if-lez v2, :cond_8

    invoke-virtual {p2}, Landroid/graphics/RectF;->width()F

    move-result v1

    float-to-int v1, v1

    :cond_8
    if-eqz p2, :cond_9

    .line 12
    invoke-virtual {p2}, Landroid/graphics/RectF;->height()F

    move-result v2

    float-to-int v2, v2

    if-lez v2, :cond_9

    invoke-virtual {p2}, Landroid/graphics/RectF;->height()F

    move-result v0

    float-to-int v0, v0

    :cond_9
    const/high16 v2, 0x3f800000    # 1.0f

    int-to-float v1, v1

    mul-float v1, v1, v2

    int-to-float v0, v0

    div-float/2addr v1, v0

    .line 13
    invoke-virtual {p0, v1}, Lcom/google/android/exoplayer/a;->setAspectRatio(F)V

    .line 14
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->x:Lcom/esfile/screen/recorder/player/exo/c;

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/player/exo/c;->a(I)V

    .line 15
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->x:Lcom/esfile/screen/recorder/player/exo/c;

    invoke-virtual {v0, p2}, Lcom/esfile/screen/recorder/player/exo/c;->a(Landroid/graphics/RectF;)V

    .line 16
    iput p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->z:I

    .line 17
    iget-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->B:Landroid/graphics/RectF;

    return-object p1

    :cond_a
    :goto_3
    const/4 p1, 0x0

    return-object p1
.end method

.method public b()V
    .locals 0

    .line 3
    invoke-direct {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->h()V

    return-void
.end method

.method public c()V
    .locals 0

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->i()V

    return-void
.end method

.method public canPause()Z
    .locals 1

    const/4 v0, 0x1

    return v0
.end method

.method public canSeekBackward()Z
    .locals 1

    const/4 v0, 0x1

    return v0
.end method

.method public canSeekForward()Z
    .locals 1

    const/4 v0, 0x1

    return v0
.end method

.method public getAudioSessionId()I
    .locals 1

    const/4 v0, -0x1

    return v0
.end method

.method public getBufferPercentage()I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/a;->c()I

    move-result v0

    return v0

    :cond_0
    const/4 v0, 0x0

    return v0
.end method

.method public getCurrentPosition()I
    .locals 2

    .line 1
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/a;->d()J

    move-result-wide v0

    long-to-int v1, v0

    return v1

    :cond_0
    const/4 v0, 0x0

    return v0
.end method

.method public getDuration()I
    .locals 2

    .line 1
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/a;->e()J

    move-result-wide v0

    long-to-int v1, v0

    return v1

    :cond_0
    const/4 v0, -0x1

    return v0
.end method

.method public getPath()Ljava/lang/String;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->g:Ljava/lang/String;

    return-object v0
.end method

.method public getView()Landroid/view/View;
    .locals 0

    return-object p0
.end method

.method public isPlaying()Z
    .locals 1

    .line 1
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    .line 2
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/a;->h()Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method protected onDetachedFromWindow()V
    .locals 1

    .line 1
    invoke-super {p0}, Landroid/widget/FrameLayout;->onDetachedFromWindow()V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->x:Lcom/esfile/screen/recorder/player/exo/c;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/c;->a()V

    .line 3
    invoke-direct {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->e()V

    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 3

    const/4 v0, 0x1

    const/4 v1, 0x4

    if-eq p1, v1, :cond_0

    const/16 v1, 0x18

    if-eq p1, v1, :cond_0

    const/16 v1, 0x19

    if-eq p1, v1, :cond_0

    const/16 v1, 0xa4

    if-eq p1, v1, :cond_0

    const/16 v1, 0x52

    if-eq p1, v1, :cond_0

    const/4 v1, 0x5

    if-eq p1, v1, :cond_0

    const/4 v1, 0x6

    if-eq p1, v1, :cond_0

    const/4 v1, 0x1

    goto :goto_0

    :cond_0
    const/4 v1, 0x0

    .line 1
    :goto_0
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->a()Z

    move-result v2

    if-eqz v2, :cond_9

    if-eqz v1, :cond_9

    iget-object v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->e:Landroid/widget/MediaController;

    if-eqz v1, :cond_9

    const/16 v1, 0x4f

    if-eq p1, v1, :cond_7

    const/16 v1, 0x55

    if-ne p1, v1, :cond_1

    goto :goto_2

    :cond_1
    const/16 v1, 0x7e

    if-ne p1, v1, :cond_3

    .line 2
    iget-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    invoke-virtual {p1}, Lcom/esfile/screen/recorder/player/exo/a;->h()Z

    move-result p1

    if-nez p1, :cond_2

    .line 3
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->start()V

    .line 4
    iget-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->e:Landroid/widget/MediaController;

    invoke-virtual {p1}, Landroid/widget/MediaController;->hide()V

    :cond_2
    return v0

    :cond_3
    const/16 v1, 0x56

    if-eq p1, v1, :cond_5

    const/16 v1, 0x7f

    if-ne p1, v1, :cond_4

    goto :goto_1

    .line 5
    :cond_4
    invoke-direct {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k()V

    goto :goto_4

    .line 6
    :cond_5
    :goto_1
    iget-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    invoke-virtual {p1}, Lcom/esfile/screen/recorder/player/exo/a;->h()Z

    move-result p1

    if-eqz p1, :cond_6

    .line 7
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->pause()V

    .line 8
    iget-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->e:Landroid/widget/MediaController;

    invoke-virtual {p1}, Landroid/widget/MediaController;->show()V

    :cond_6
    return v0

    .line 9
    :cond_7
    :goto_2
    iget-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    invoke-virtual {p1}, Lcom/esfile/screen/recorder/player/exo/a;->h()Z

    move-result p1

    if-eqz p1, :cond_8

    .line 10
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->pause()V

    .line 11
    iget-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->e:Landroid/widget/MediaController;

    invoke-virtual {p1}, Landroid/widget/MediaController;->show()V

    goto :goto_3

    .line 12
    :cond_8
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->start()V

    .line 13
    iget-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->e:Landroid/widget/MediaController;

    invoke-virtual {p1}, Landroid/widget/MediaController;->hide()V

    :goto_3
    return v0

    .line 14
    :cond_9
    :goto_4
    invoke-super {p0, p1, p2}, Landroid/widget/FrameLayout;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result p1

    return p1
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 1

    .line 1
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result p1

    if-nez p1, :cond_0

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k()V

    :cond_0
    const/4 p1, 0x0

    return p1
.end method

.method public onTrackballEvent(Landroid/view/MotionEvent;)Z
    .locals 0

    .line 1
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->a()Z

    move-result p1

    if-eqz p1, :cond_0

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k()V

    :cond_0
    const/4 p1, 0x0

    return p1
.end method

.method public pause()V
    .locals 2

    .line 1
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->a()Z

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/a;->a(Z)V

    .line 3
    :cond_0
    iput-boolean v1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->n:Z

    return-void
.end method

.method public seekTo(I)V
    .locals 1

    const/4 v0, 0x1

    .line 1
    invoke-virtual {p0, p1, v0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->a(IZ)V

    return-void
.end method

.method public setMediaController(Landroid/widget/MediaController;)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->e:Landroid/widget/MediaController;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Landroid/widget/MediaController;->hide()V

    .line 3
    :cond_0
    iput-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->e:Landroid/widget/MediaController;

    .line 4
    invoke-direct {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->d()V

    return-void
.end method

.method public setOnBufferedPercentageChangedListener(Lcom/esfile/screen/recorder/player/exo/a$b;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->t:Lcom/esfile/screen/recorder/player/exo/a$b;

    return-void
.end method

.method public setOnCompletionListener(Lcom/esfile/screen/recorder/player/exo/a$c;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->o:Lcom/esfile/screen/recorder/player/exo/a$c;

    return-void
.end method

.method public setOnErrorListener(Lcom/esfile/screen/recorder/player/exo/a$d;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->q:Lcom/esfile/screen/recorder/player/exo/a$d;

    return-void
.end method

.method public setOnInfoListener(Lcom/esfile/screen/recorder/player/exo/a$e;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->r:Lcom/esfile/screen/recorder/player/exo/a$e;

    return-void
.end method

.method public setOnInternalErrorListener(Lcom/esfile/screen/recorder/player/exo/a$f;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->s:Lcom/esfile/screen/recorder/player/exo/a$f;

    return-void
.end method

.method public setOnPreparedListener(Lcom/esfile/screen/recorder/player/exo/a$g;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->p:Lcom/esfile/screen/recorder/player/exo/a$g;

    return-void
.end method

.method public setOnRenderedToSurfaceListener(Lcom/esfile/screen/recorder/player/exo/a$h;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->w:Lcom/esfile/screen/recorder/player/exo/a$h;

    return-void
.end method

.method public setOnStateChangedListener(Lcom/esfile/screen/recorder/player/exo/a$i;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->u:Lcom/esfile/screen/recorder/player/exo/a$i;

    return-void
.end method

.method public setOnVideoSizeChangedListener(Lcom/esfile/screen/recorder/player/exo/a$j;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->v:Lcom/esfile/screen/recorder/player/exo/a$j;

    return-void
.end method

.method public setOnVideoViewSizeChangedListener(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$g;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->M:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$g;

    return-void
.end method

.method public setPlaybackSpeed(F)V
    .locals 1

    .line 1
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/player/exo/a;->a(F)V

    const/high16 p1, 0x3f800000    # 1.0f

    .line 3
    iput p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->l:F

    goto :goto_0

    .line 4
    :cond_0
    iput p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->l:F

    :goto_0
    return-void
.end method

.method public setVideoPath(Ljava/lang/String;)V
    .locals 2

    const/4 v0, -0x1

    const/4 v1, 0x0

    .line 1
    invoke-virtual {p0, p1, v0, v1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->a(Ljava/lang/String;ILcom/google/android/exoplayer/drm/c;)V

    return-void
.end method

.method public setVideoURI(Landroid/net/Uri;)V
    .locals 2

    const/4 v0, -0x1

    const/4 v1, 0x0

    .line 1
    invoke-virtual {p0, p1, v0, v1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->a(Landroid/net/Uri;ILcom/google/android/exoplayer/drm/c;)V

    return-void
.end method

.method public setVolume(F)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->k:Lcom/esfile/screen/recorder/player/exo/a;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/player/exo/a;->b(F)V

    :cond_0
    return-void
.end method

.method public setZOrderMediaOverlay(Z)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->b:Landroid/opengl/GLSurfaceView;

    invoke-virtual {v0, p1}, Landroid/opengl/GLSurfaceView;->setZOrderMediaOverlay(Z)V

    return-void
.end method

.method public start()V
    .locals 2

    const-wide/16 v0, 0x0

    .line 1
    invoke-virtual {p0, v0, v1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->a(J)V

    return-void
.end method

.method public surfaceChanged(Landroid/view/SurfaceHolder;III)V
    .locals 0

    .line 1
    iget-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->M:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$g;

    if-eqz p1, :cond_0

    .line 2
    invoke-interface {p1, p3, p4}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$g;->a(II)V

    :cond_0
    return-void
.end method

.method public surfaceCreated(Landroid/view/SurfaceHolder;)V
    .locals 0

    return-void
.end method

.method public surfaceDestroyed(Landroid/view/SurfaceHolder;)V
    .locals 1

    .line 1
    iget-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->e:Landroid/widget/MediaController;

    if-eqz p1, :cond_0

    .line 2
    invoke-virtual {p1}, Landroid/widget/MediaController;->hide()V

    .line 3
    :cond_0
    iget-object p1, p0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->f:Landroid/view/View;

    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Landroid/view/View;->setVisibility(I)V

    .line 4
    invoke-direct {p0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->i()V

    return-void
.end method
